package cl.movix.modules.customer.dao;

import java.util.Random;

import cl.movix.modules.customer.business.IProperty;

public enum RepositoryEstrategy {

	/** Do the action now */
	NOW,  
	
	/** Do the action later */
	LATER;

	private static Random randomizer = new Random();
	
	public static RepositoryEstrategy getStrategy(IProperty Property) {

		return RepositoryEstrategy.values()[randomizer.nextInt(RepositoryEstrategy.values().length)];
		
	}
}
